//package com.sj.mbt.request;
//
//import android.text.TextUtils;
//
//import com.razerdp.github.com.common.entity.LikesInfo;
//
//import cn.bmob.v3.exception.BmobException;
//import cn.bmob.v3.listener.UpdateListener;
//import razerdp.github.com.lib.network.base.BaseRequestClient;
//
///**
// * Created by huluhong on 2018/7/8.
// */
//
//public class UnLikeRequest extends BaseRequestClient<Boolean> {
//
//    private String likesInfoid;
//
//    public UnLikeRequest(String likesInfoid) {
//        this.likesInfoid = likesInfoid;
//    }
//
//    @Override
//    protected void executeInternal(final int requestType, boolean showDialog) {
//        if (TextUtils.isEmpty(likesInfoid)) {
//            onResponseError(new BmobException("likesinfoid为空"), requestType);
//            return;
//        }
//        LikesInfo info = new LikesInfo();
//        info.setObjectId(likesInfoid);
//        info.delete(new UpdateListener() {
//            @Override
//            public void done(BmobException e) {
//                onResponseSuccess(e == null, requestType);
//            }
//        });
//
//    }
//}
